#include<iostream>
#include"TcpServer.hpp"
#include"Commad.hpp"
using namespace LockModule;
int main()
{
    ENABLE_CONSOLE_LOG();

    Commad cmd;
    std::unique_ptr<TcpServer> tcp_ser=std::make_unique<TcpServer>([&cmd](std::string str){
        return cmd.Execute(str);
    });
    tcp_ser->InitServer();
    tcp_ser->Start();
    return 0;
}